// 引入request
import request from './request'
//获取轮播图的数据的api
export const findBanner = () => request({ url: '/getSwiperList' })

// 获取导航列表数据的api
export const findNav = () => request({ url: '/getNavList' })

//获取房屋标签列表数据的api
export const findTag = () => request({ url: '/getTipList' })

//获取房屋列表数据的api
export const findHouse = (page, size) =>
  request({ url: `/getHouseList?page=${page}&size=${size}` })

// // 获取房屋详情数据的api
// export const findDetail=(id)=>request({url:`/getHouseDetailById?id=${id}`})